package cn.tedu.service;

import cn.tedu.repository.HelloRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HelloService {

    @Autowired
    private HelloRepository helloRepository;


    public String sayHi(String name) {
        return helloRepository.sayHi(name);
    }
}
